package com.baidu.user.entity;

import java.math.BigDecimal;

public class User {

	private BigDecimal id;

    private String loginname;

    private String password;

    private String realname;

    private String mail;

    private String phone;

    private Long age;

    private Long sex;

    private BigDecimal typeid;

    private BigDecimal classid;

    private String status;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? null : loginname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail == null ? null : mail.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public Long getSex() {
        return sex;
    }

    public void setSex(Long sex) {
        this.sex = sex;
    }

    public BigDecimal getTypeid() {
        return typeid;
    }

    public void setTypeid(BigDecimal typeid) {
        this.typeid = typeid;
    }

    public BigDecimal getClassid() {
        return classid;
    }

    public void setClassid(BigDecimal classid) {
        this.classid = classid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

	@Override
	public String toString() {
		return "User [id=" + id + ", loginname=" + loginname + ", password="
				+ password + ", realname=" + realname + ", mail=" + mail
				+ ", phone=" + phone + ", age=" + age + ", sex=" + sex
				+ ", typeid=" + typeid + ", classid=" + classid + ", status="
				+ status + "]";
	}
    
    
}